package com.culturalCenter.dataCenter.service.user;

import com.culturalCenter.dataCenter.entity.user.UserLocationCount;
import com.github.pagehelper.PageInfo;

import java.util.List;

public interface UserLocationCountService {

    /**
     * UserLocationCount分页查询
     *
     * @param page
     * @param size
     *
     * @return
     */
    PageInfo<UserLocationCount> findPage(int page, int size);

    /**
     * 删除UserLocationCount
     *
     * @param id
     */
    Integer delete(String id);

    /**
     * 修改UserLocationCount数据
     *
     * @param userLocationCount
     */
    Integer update(UserLocationCount userLocationCount);

    /**
     * 新增UserLocationCount
     *
     * @param userLocationCount
     */
    Integer add(UserLocationCount userLocationCount);

    /**
     * 根据ID查询UserLocationCount
     *
     * @param id
     *
     * @return
     */
    UserLocationCount findById(String id);

    /**
     * 查询所有UserLocationCount
     *
     * @return
     */
    List<UserLocationCount> findAll(UserLocationCount userLocationCount);

}
